package com.qdh.mapper;

import com.qdh.model.Product;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProductMapper {
    List<Product> findAll();
    int insertProduct(Product product);
    Product findById(Integer id);
    int updateProduct(Product product);
    void deleteProduct(Integer id);
}
